package cn.wolfcode.wolf2w.search.service.impl;

import cn.wolfcode.wolf2w.search.domain.TravelEs;
import cn.wolfcode.wolf2w.search.repository.TravelESRepository;
import cn.wolfcode.wolf2w.search.service.ITravelESService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TravelESImpl implements ITravelESService {
    
    @Autowired
    private TravelESRepository travelESRepository;
    @Override
    public void insert(TravelEs travelEs) {
        travelESRepository.save(travelEs);
    }
}
